Automatic gain control with gain stepping and regulation

ABSTRACT

An automatic gain control device and a related method for its operation, using a first-order control loop for adjusting a received communication signal to compensate for variations in received signal power. The device bases its adjustments on a measure of the average received root-mean-square (rms) signal power and, in its preferred form, adjusts a loop gain adaptively to react rapidly to large input signal variations. The loop gain is adjusted based on measurement of the average power of an error signal and on the sign of the error signal power. Optional features include an automatically adjustable power set point.

BACKGROUND OF THE INVENTION

This invention relates to automatic gain control (AGC) Loop circuits, usually referred to as AGC loops because automatic gain control necessarily requires a feedback loop of some kind. (There are forward type AGCs that do not require a feedback loop.) AGC loops are used in communication systems to improve receiver operation by varying the gain applied to received signals based upon their detected power. AGC loops are needed in most communication systems because, as a practical matter, received signals are always subject to variations in power. The task of gain control is further complicated by the presence of interfering signals.

Designers of communication receivers face a fundamental choice between first-order AGC loops and second or higher-order AGC loops. The loop “order” is a basic characteristic of feedback control loops in general, not just AGC loops, and refers to the number of mathematical integrators in the loop. First-order loops are less complex and are known for their stability, i.e., their ability to converge on a desired steady-state signal value relatively quickly when there is a change in the received signal strength. For certain received signal conditions, however, first-order loops may not perform as well as desired, and in particular may not react fast enough to large or small received signal changes. First order loops are optimized either for speed or accuracy in performance. In the former case, a large loop bandwidth (equivalent noise bandwidth of the loop) in which the loop can react fast to a change in signal power suffers from poor performance. On the other hand, a first order loop with small loop bandwidth is very slow to react, however, it has a superior performance compared with loops with large bandwidths. For example, in the presence of strong interfering signals, they may tend to clip the interfering signal and thus desensitize the relatively weak desired signal. Second-order and higher-order loops have a theoretically more desirable response characteristic for many applications, but are in general not used because of their potential instability.

Ideally, what is needed is an AGC loop that has the stability of a first-order loop but also has the ability to react rapidly in the presence of large signal changes, interference signals, or in a frequency-hopping communications environment. The present invention is directed to these goals.

SUMMARY OF THE INVENTION

The present invention resides in an automatic gain control (AGC) loop that always operates in a first-order, stable mode, but reacts fast enough to large signals by adapting itself to those signals, and then reverting back to its nominal setting as needed. The AGC loop of the invention relies principally on error-signal power detection techniques that result in selected different gain values being fed to a single-pole loop filter, which operates as a stable first-order loop at all times.

Briefly, and in general terms, the invention may be defined as an automatic gain control (AGC) device for generating amplifier control signals to adjust to a desired level a received communication signal that varies in power, the AGC device comprising a first computational module, for generating a signal representative of the average power of the received communication signal; a second computational module, for generating an error signal representative of the difference between the average power signal generated by the first computational module and a selected power set point; and a third computational module, for generating an amplifier control signal from the error signal. The generated amplifier control signal is responsive to variations in the average power of the received signal.

More specifically, the third computational module comprises a loop gain amplifier for amplifying the error signal; a summing module for combining the amplified error signal with another input signal; and a delay module for receiving the output of the summing module and providing as output the amplifier control signal. The other input signal to the summing module is derived from output of the delay module, and represents the amplifier control signal in an earlier computation cycle.

Preferably, the AGC device further comprises a fourth computational module for controlling the gain of the loop gain amplifier in accordance with the average error signal power. Specifically, the fourth computational module comprises an error signal power determination module; an error signal sign determination module; and a gain decision module receiving input signals from the error signal power determination module and the error signal sign determination module, and selecting a loop amplifier gain based on the inputs received.

Optionally, the AGC device may also comprise a set point selection module, wherein the power set point supplied to the second computational module is automatically selected based on measurements made on the received communication signal.

The invention may also be defined in terms of a method of automatic gain control, comprising the steps of generating a signal representative of the average power of a received communication signal; generating an error signal representative of the difference between the average power signal and a selected power set point; and generating an amplifier control signal from the error signal. Thus, the generated amplifier control signal is responsive to variations in the average power of the received signal.

Preferably, the method also comprises a step of controlling the gain of the loop gain amplifier in accordance with average error signal power. Specifically, the step of controlling the gain of the loop gain amplifier comprises determining the average power of the error; determining the algebraic sign of the average power of the error signal; and selecting, based on the error signal power the error signal algebraic sign, determination module, a loop amplifier gain.

In defining the invention in this summary and in the claims below, the expression “signal representative of the average power” and similar expressions are used. The term “representative of” is intended to encompass signals that are directly proportional to the power, or those that are directly proportional to some mathematical function of the power, such as the square of the power. For processing convenience, as will become apparent from the detailed description that follows, the square of the power is used in the presently preferred embodiments of the invention. Also in this summary and in the claims, the term “AGC device” is used with the intent of encompassing implementations in software, programmable hardware, or integrated or discrete circuitry.

It will be appreciated from this summary that the present invention represents a significant advance in the field of automatic gain control circuits and devices. In particular, the AGC device of the invention has the stability advantages of a first-order control loop, but still adapts rapidly to large input signal variations. Other aspects and advantages of the invention will become apparent from the following more detailed description, taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a conceptual block diagram of a receiver that includes the automatic gain control (AGC) loop of the present invention.

FIG. 2 is block diagram of a first order AGC loop

FIG. 3 is an expanded block diagram of the AGC loop, depicting the technique of the invention as it relates to adaptively changing the loop filter gain in accordance with the nature of the error signal.

FIG. 4 is a block diagram showing how a variable AGC set-point feature may be incorporated into the AGC loop of the invention.

FIG. 5 is a graph of an in-phase input signal used in simulation of AGC loop operation.

FIG. 6 is a graph showing the in-phase signal of FIG. 5 after adjustment by the AGC loop of the invention.

FIG. 7 is a graph showing the AGC error signal corresponding to FIGS. 5 and 6.

FIG. 8 is a graph showing the output of the AGC loop filter, corresponding to FIGS. 5-9.

DETAILED DESCRIPTION OF THE INVENTION

As shown in the drawings, the present invention pertains to automatic gain control (AGC) circuits or loops. As briefly discussed above, first-order AGC loops are preferably used in communication receivers because of their known stability of operation. First-order AGC loops do not, however, normally react fast enough to large signal inputs, and therefore do not provide appropriate gain control in some communication applications.

In accordance with the present invention, a relatively simple, first-order AGC loop is provided with enhanced capability to adapt to large input and error signals and then to readapt to its nominal settings when the need for a more rapid response has passed. The invention will be described in the context of a typical communications receiver, which is conceptually illustrated in FIG. 1.

The receiver is shown as including a front-end analog section with amplifying, filtering and mixing stages. Specifically, the front end of the receiver is shown as including a first low noise amplifier (LNA) indicated by reference numeral 10 and designated LNA1, which receives an incoming radio frequency (RF) signal on line 12, an image reject filter 14 coupled to the output of LNA1, and a first mixer 16 connected to receive the output of the filter and having a second input to which a local oscillator signal LO1 is applied. The output of the first mixer 16 is further processed by another filter 18, a second low noise amplifier 20 designated LNA2, a second mixer 22 to which a second local oscillator signal LO2 is applied, another filter 24, and finally a third low noise amplifier 26 designated LNA3. It will be understood, of course, that there is nothing novel in this analog front end architecture and nothing critical to the invention in the use of two mixer stages for downconversion of the received RF input signals to an intermediate frequency (IF) signal such as the one output from the third low noise amplifier 26. Note also that the invention is not restricted to the use of LNAs at this point; the LNAs could be replaced by a variable gain amplifier (VGA).

The conceptual receiver illustrated in FIG. 1 further includes a digital module, including an analog-to-digital converter (ADC) 28, the digital output of which is connected to two parallel digital mixers 30 and 32, which have as additional inputs the in-phase and quadrature components of a digital local oscillator signal. The outputs of the digital mixers 30 and 32 are further processed by digital lowpass filters 34 and 36, respectively, which provide digital in-phase (I) and quadrature (Q) output signals on lines 38 and 40, respectively, for further processing by other components (not shown) downstream from the receiver.

To control the gain of the signals on lines 38 and 40, these signals are also coupled to an AGC loop 42, which generates appropriate amplifier control signals on lines 44, which are fed back to the low noise amplifiers 12, 20 and 26. The structure of the AGC loop 42 will now be discussed in more detail with reference to FIG. 2.

The AGC loop 42 obtains I and Q output signals from the digital low pass filters 34 and 36 on lines 38 and 40, respectively. At this point in processing, it is assumed that the I and Q digital data streams have been decimated to a data rate convenient for further processing. The decimated I and Q signals are separately squared in squaring circuits 50 and 52, respectively, added together in a summing circuit 54, and then further processed in a computation module 56 that generates a signal that is a measure of the input power. Further details of module 56 are discussed below.

The measure of input power is input to a summer 58, which also receives a set-point input signal on line 60. The summer 58 output, on line 62, is amplified by a loop amplifier 64, which applies a loop gain of μ to the difference between the set-point signal and the measure of input power. There is no amplification since μ is must be less than 1. The loop amplifier 64 provides an output on line 66 to another summer 68, and the output of the summer 68 is connected, in turn, to a loop delay circuit 70, which interjects a delay of one sample time this process is called a running sum and serves to estimate the desired gain needed to amplify or attenuate the received signal. The delay circuit 70 output is fed back over line 72 to provide a second input to the summer 68.

The output signal from the delay circuit 70 of the AGC loop is also coupled through line 74 to a gain decision and hysterisis block 76, which determines the adjustments, if any, to made to the gains of the low noise amplifiers 12, 20 and 26 (FIG. 1). Finally, a control signal distribution 78 distributes control signals to the low noise amplifiers, as indicated by lines 44. Further details of the AGC loop are shown in FIG. 3, in which the same reference numerals as in FIGS. 1 and 2 are used to refer to identical components.

As shown in FIG. 3, the computational module 56 (FIG. 2) for computing a measure of input power has two subcomponents, indicated as blocks 56A and 56B. In block 56A, an integrate-and-dump function is performed on the incoming I and Q signals, as expressed by: ${\frac{1}{N}{\sum\limits_{n = 1}^{N - 1}\quad{I^{2}\left( {t - {nT}} \right)}}} + {Q^{2}\left( {t - {NT}} \right)}$

where n refers to the sample number in a series of samples, N denotes the total number of samples in the summation performed, t denotes time from the start of a block of samples, and T is the time interval between samples.

In block 56B, the following function is performed on the output of block 56A: 10 log₁₀(.)

The need for performing the logarithm operation arises from the nature of a typical low-noise amplifier gain characteristic, which can be modeled as an exponential voltage gain amplifier (VGA) type of function of the form 10^((.)/10). The logarithm is also used to compress the input signal power and allow the loop to react fast to power changes. The output of block 56B provides a measure of the rms (root mean square) input power, designated r_(n), for reasons that are made more apparent from the following mathematical relationships. More precisely, the output of block 56B provides signals proportional to the square of the rms input power, i.e., r_(n) ².

The state space relation of the AGC loop may be expressed by the following equation: ν_(n+1)=ν_(n) +μe _(n)=ν_(n) +μ[P _(d)−10 log₁₀(E{10^(2ν) ^(n) ^(/10) r _(n) ²})], where:

ν_(n) is the state at the output of summer 68,

μ is the loop gain,

e_(n) is the error signal output from summer 58,

P_(d) is the set point signal on line 60, and

E represents an expected value operator, in this case performed by the integrate and dump function in box 56A.

The expectation operator serves as a lowpass filter to remove the effect of zero-mean white noise in the input signal. The above equation may be expressed differently as: ν_(n+1)=ν_(n)+μ(P _(d)−2ν_(n)−10 log₁₀({circumflex over (r)} _(n) ²))=(1−2μ)ν_(n)+μ(P _(d)−10 log₁₀({circumflex over (r)} _(n) ²))

where r̂_(n)² = E{r_(n)²} is the rms input power.

In the event that the I and Q signals resemble white Gaussian noise, the envelope r_(n) ² has a Rayleigh distribution. The distribution becomes Rician in the presence of a dominant narrowband signal.

The following discussion pertains to the steady state response of the AGC loop and stability considerations. During steady state operation, the mean of the error e_(n) is zero and ν_(n+1)=ν_(n)=ν. The expression immediately above then becomes: ν=(1−2μ)ν+μ(P _(d)−10 log₁₀({circumflex over (r)} _(n) ²)).

Solving for ν in yields: $v = {\frac{P_{d} - {10\quad{\log_{10}\left( {\overset{\Cap}{r}}_{n}^{2} \right)}}}{2}.}$

This equilibrium point is pivotal in computing the instantaneous dynamic range of the AGC loop. If we let χ_(n) be the perturbation around the equilibrium point during steady state, then ν+χ_(n+1)=(1−2μ)(ν+χ_(n))+μ(P _(d)−10 log₁₀({circumflex over (r)} _(n) ²))

Simplifying this relation yields: χ_(n+1)=(1−2μ)χ_(n)−2μν+μ(P _(d)−10 log₁₀({circumflex over (r)} _(n) ²))

Substituting for ν.results in: $\begin{matrix} {\chi_{n + 1} = {{\left( {1 - {2\mu}} \right)\chi_{n}} - {2\mu\frac{P_{d} - {10\quad{\log_{10}\left( {\overset{\Cap}{r}}_{n}^{2} \right)}}}{2}} + {\mu\left( {P_{d} - {10\quad{\log_{10}\left( {\overset{\Cap}{r}}_{n}^{2} \right)}}} \right)}}} \\ {= {\left( {1 - {2\mu}} \right)\chi_{n}}} \end{matrix}$

The above relation can be further expressed as: χ_(n+1)=(1−2μ)^(n)χ₀

In order for the AGC loop to be stable, this expression must converge to zero as n approaches infinity, thus imposing the relation: $\left. {{{1 - {2\mu}}} < 1}\Rightarrow\left\{ \begin{matrix} {\mu > 0} \\ {\mu < 1} \end{matrix} \right. \right.$

In the above discussion, it is assumed that the AGC loop has the same attack and decay time. Attack and decay time refers to the rate at which the AGC reacts to sudden increases and decreases, respectively, in the input signal. It is well known from control theory that the attack or decay time constant is inversely proportional to the loop gain μ.

An important aspect of the invention is that the AGC loop is modified to include measurement of error signal energy, and that the average error signal energy is used to select an appropriate loop gain μ. To this end, the AGC loop of the invention also includes an error signal energy detector block 70 (FIG. 3) that includes an integrate-and-dump block 72 that averages the error signal, a sign block 74 that determines the sign of the average of the error signal, and a gain and switch block 76 to effect appropriate switching of the loop gain μ. Averaging of the error signal energy in block 72 is effected by an integrate-and-dump operation that may be expressed as: ${e_{avg}^{2}(n)} = {\sum\limits_{n = 0}^{N - 1}\quad{e^{2}\left( {t - {nT}} \right)}}$

If the average error energy exceeds a certain threshold Γ, this implies that a sudden increase or decay in the incoming signal energy has taken place, and the AGC is controlled to use a large loop filter gain to compensate more rapidly for the change in received signal magnitude. This mode is referred to as the coarse AGC mode. The coarse AGC loop exhibits a low loop signal-to-noise ration (SNR) to allow for fast tracking of the input signal. If the error signal energy is less than the threshold Γ, then the loop filter gain remains at its original low setting. This mode is known as the fine AGC mode. The loop exhibits a high SNR at this slower tracking speed. Therefore, the attack and decay time can change depending on the input signal condition if it is desired to change the loop behavior accordingly.

The sign of the average error signal is expressed as: ${{sign}\left\{ {e_{avg}(n)} \right\}} = \left\{ \begin{matrix} 1 & {{{sign}\left\{ {\sum\limits_{m = 0}^{M - 1}\quad{e\left( {t - m} \right)}} \right\}} \geq 0} \\ {- 1} & {{{sign}\left\{ {\sum\limits_{m = 0}^{M - 1}\quad{e\left( {t - m} \right)}} \right\}} < 0} \end{matrix} \right.$

In this expression, M is a programmable parameter that indicates the number of samples taken in the averaging process. The sign of the average error is used to indicate whether the AGC loop is in attack mode (positive average error) or decay mode (negative average error). The sign determination is made in block 74 (FIG. 3) and transmitted to a threshold detector and decision mechanism block 78. Based on the sign of the average error (which determines whether the AGC mode is attack or decay) and on the comparison of the average error with the threshold (which determines whether the AGC mode is coarse or fine), the decision mechanism in block 78 generates a loop gain selection signal on line 80, which results in the selection of one of four gain values by a multiplexer 82. The four gain values are μ_(dc), μ_(af), μ_(ac) and μ_(df), where the subscripts d and a refer to the decay and attack modes, respectively, and the subscripts c and f refer to the coarse and fine modes, respectively. Selection of the loop gain can be expressed by the relation: $\mu = \left\{ \begin{matrix} \mu_{a,f} & {{{e_{avg}^{2}(n)} < \Gamma},{{{sign}\left\{ {e_{avg}(n)} \right\}} < 0}} \\ \mu_{d,f} & {{{e_{avg}^{2}(n)} < \Gamma},{{{sign}\left\{ {e_{avg}(n)} \right\}} \geq 0}} \\ \mu_{a,c} & {{{e_{avg}^{2}(n)} \geq \Gamma},{{{sign}\left\{ {e_{avg}(n)} \right\}} < 0}} \\ \mu_{d,c} & {{{e_{avg}^{2}(n)} \geq \Gamma},{{{sign}\left\{ {e_{avg}(n)} \right\}} \geq 0}} \end{matrix} \right.$

In effect, the magnitude of the average error signal is used to determine the magnitude of the loop gain, and the sign of the average error signal is used to determine whether the gain needs to be increased or decreased, based on whether the AGC is in attack or decay mode. It will be readily appreciated that the principle of the invention is not limited to use of a single threshold to determine the loop gain. One could also employ multiple thresholds and choose from a larger number of gain values.

A further optional feature of the AGC loop of the invention is the ability to provide a variable set point P_(d) depending on the difference between the signal energy or power, derived as previously described, and the signal energy after passing through a channel filter. If this difference is greater than a preselected threshold, a higher value of P_(d) is chosen. The scheme for varying the set point is depicted in FIG. 4. The digital input signals are passed through a channel filter 90, the output of which is processed in blocks 92A and 92B in much the same way that the original input signals are processed in blocks 56A and 56B. In other words, the signal energy at the output of the channel filter 90 is estimated using an integrate-and-dump function: ${\frac{1}{GN}{\sum\limits_{n = t}^{N - 1}\quad{I_{c}^{2}\left( {t - {nT}} \right)}}} + {Q_{c}^{2}\left( {t - {NT}} \right)}$

where G is a gain adjustment and the subscript c refers to input signals passed through the channel filter. This estimated signal energy is input to a summer 94, the other input of which receives the estimated signal energy of the original signal, not passed through the channel filter 90. The summer 94 generates a difference signal given by: $E_{\Delta} = {{\frac{1}{N}{\sum\limits_{n = t}^{N - 1}\quad{I^{2}\left( {t - {nT}} \right)}}} + {Q^{2}\left( {t - {NT}} \right)} - {\frac{1}{GN}{\sum\limits_{n = t}^{N - 1}\quad{I_{c}^{2}\left( {t - {nT}} \right)}}} + {Q_{c}^{2}\left( {t - {NT}} \right)}}$

An appropriate set point is chosen, as indicated in block 96, depending on the value of this difference, as given by: $P_{d} = \left\{ \begin{matrix} P_{d,{high}} & {E_{\Delta} > \rho} \\ P_{d,{low}} & {E_{\Delta} \leq \rho} \end{matrix} \right.$

where ρ is an estimate of the out-of-band noise energy before channel filtering.

As in any AGC implemented with discrete gain steps, a hysterisis is often necessary when switching a gain stage on and off. Gain stages farthest away from the antenna are turned on first in order to minimize the noise figure of the receiver. Once a gain stage is switched on or off, the AGC loop may not switch it back off despite a drop or increase in the signal level until a certain power threshold is surpassed. Failure to present adequate hysterisis results in AM-modulating the received signal. The important point to note is that the fixed point implementation of the loop must be designed such that the quantized levels are much smaller than the required gain steps, which is normally the case.

FIG. 5 is a graph showing the magnitude changes in a sample input signal, including a first step change (reduction) in magnitude and, a short time later, another step change, also reducing the magnitude. Although not apparent from the figure, which plots magnitude on a linear scale, the second change is much greater than the first in signal power (dB) terms, specifically 10 dB for the first change versus 40 dB for the second.

FIG. 6 plots the in-phase signal after it has been adjusted by the AGC loop of the invention. Adjustment for the second step change is achieved in approximately the same time as adjustment for the first step change, even though the second step change was a much bigger reduction in signal power. The reason for the fast reaction to the greater step change is that the second change produced an average power change that exceeded the selected threshold, and resulted in the AGC loop switching to its coarse mode of operation. This is apparent from the plot of the AGC error signal in FIG. 7. The error signal spikes to a very large value at the time of the second step change and then quickly readjusts to a lower value. Finally, FIG. 8 shows the corresponding changes in the output of the AGC control loop.

It will be appreciated from the foregoing that the present invention represents a significant advance in the field of automatic gain control technology. In particular, the invention provides an AGC loop that has the stability advantages of first-order control loops, but is still able to react rapidly to sudden changes in received signal power. It will also be appreciated that, although an embodiment of the invention has been described in detail for purposes of illustration, various modifications may be made without departing from the spirit and scope of the invention. In particular, it should be noted that, because signals in the AGC loop are processed in digital form, most of the components and modules of the AGC loop are conveniently implemented in the form of software or some form of programmable hardware (firmware). The invention is not, however, limited to such implementations. Accordingly, the invention should not be limited except as by the appended claims. 

1. An automatic gain control (AGC) device for generating amplifier control signals to adjust a received communication signal that varies in power, to a desired level, the AGC device comprising: a first computational module, for generating a signal representative of the average power of the received communication signal; a second computational module, for generating an error signal representative of the difference between the average power signal generated by the first computational module and a selected power set point; and a third computational module, for generating an amplifier control signal from the error signal, wherein the generated amplifier control signal is responsive to variations in the average power of the received signal.
 2. An AGC device as defined in claim 1, wherein the third computational module comprises: a loop gain amplifier for amplifying the error signal; a summing module for combining the amplified error signal with another input signal; and a delay module for receiving the output of the summing module and providing as output the amplifier control signal, wherein the other input signal to the summing module is derived from the amplifier control signal in an earlier computation cycle.
 3. An AGC device as defined in claim 1, wherein the first computational module generates a signal proportional to the square of the root-mean-square (rms) power of the received communication signal.
 4. An AGC device as defined in claim 2, and further comprising: a fourth computational module for controlling the gain of the loop gain amplifier in accordance with average error signal power.
 5. An AGC device as defined in claim 4, wherein the fourth computational module comprises: an error signal power determination module; an error signal sign determination module; and a gain decision module receiving input signals from the error signal power determination module and the error signal sign determination module, and selecting a loop amplifier gain based in the inputs received.
 6. An AGC device as defined in claim 5, wherein the gain decision module comprises: a comparison module, for comparing the received error signal power with a threshold value, and selecting a first pair of loop amplifier gains for operation in a fine mode when the received error signal power is below the threshold, and selecting a second pair of loop amplifier gains for operation in a coarse mode when the received error signal is above the threshold; a sign detection module, for determining the algebraic sign of the error signal average power; and a sign-based gain selection module, for selecting one of the pair of loop amplifier gains selected by the comparison module, wherein the sign of the error signal average power is indicative of whether the AGC device should operate in an attack mode or a decay mode.
 7. An AGC circuit as defined in claim 4, and further comprising: a set point selection module, wherein the power set point supplied to the second computational module is automatically selected based on measurements made on the received communication signal.
 8. An AGC circuit as defined in claim 7, wherein the set point selection module comprises: a communication channel model, into which the received communication signal is input; a module similar to the first computational module, but for generating a signal representative of the average power of the received communication signal after it passes through the channel model; a differencing module, for generating a difference signal, representative of the difference between the average power of the received signal and the average power of the received signal after it passes through the channel model; and a set point selection module, for choosing a set point value based on the value of the difference signal in comparison with a threshold.
 9. For use in a communications receiver, a method of automatic gain control, comprising the steps of: generating a signal representative of the average power of a received communication signal; generating an error signal representative of the difference between the average power signal and a selected power set point; and generating an amplifier control signal from the error signal, wherein the generated amplifier control signal is responsive to variations in the average power of the received signal.
 10. A method as defined in claim 9, wherein the step of generating an amplifier control signal comprises: amplifying the error signal in a loop gain amplifier; combining the amplified error signal with another input signal to produce a sum signal; delaying the sum signal and providing as output an amplifier control signal; and feeding the delayed output signal back to be used as the other input signal in the combining step, wherein the other input is derived from the amplifier control signal in an earlier computation cycle.
 11. A method as defined in claim 9, wherein the step of generating a signal representative of the average power of the communication signal comprises generating a signal proportional to the square of the root-mean-square (rms) power of the received communication signal.
 12. A method as defined in claim 10, and further comprising: controlling the gain of the loop gain amplifier in accordance with average error signal power.
 13. A method as defined in claim 12, wherein the step of controlling the gain of the loop gain amplifier comprises: determining the average power of the error; determining the algebraic sign of the average power of the error signal; and selecting, based on the error signal power the error signal algebraic sign, determination module, a loop amplifier gain.
 14. A method as defined in claim 13, wherein the step of selecting a loop amplifier gain comprises: comparing the received error signal power with a threshold value, and selecting a first pair of loop amplifier gains for operation in a fine mode when the received error signal power is below the threshold, and selecting a second pair of loop amplifier gains for operation in a coarse mode when the received error signal is above the threshold; determining the algebraic sign of the error signal average power; and selecting one of the pair of loop amplifier gains selected by the comparing step, wherein the sign of the error signal average power is indicative of whether the AGC device should operate in an attack mode or a decay mode.
 15. A method as defined in claim 12, and further comprising: automatically selecting the power set point used in the step of generating an error signal, based on measurements made on the received communication signal.
 16. A method as defined in claim 15, wherein the step of automatically selecting the power set point comprises: inputting the received communication signal to a communication channel model; generating a signal representative of the average power of the received communication signal after it passes through the channel model; generating a difference signal, representative of the difference between the average power of the received signal and the average power of the received signal after it passes through the channel model; and choosing a power set point value based on the value of the difference signal in comparison with a threshold. 